﻿using Klear.Library.Models;

namespace Klear.Library.Services;

public interface IIncomeAndExpensesService
{
    Task<IList<IncomeAndExpensesModel>> LoadIncomeAndExpensesAsync();//加载
    void SaveIncomeAndExpenses(IncomeAndExpensesModel data);//保存

    Task<IList<CategoryModel>> LoadExpensesAsync();
    Task<IList<CategoryModel>> LoadIncomeAsync();
    void Delete(IncomeAndExpensesModel data);
}